package com.team.merchant.mapper;

import com.team.merchant.domain.AccountFlow;
import com.team.merchant.domain.OrderInfo;
import com.team.merchant.domain.vo.RecordVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface WxVerificationMapper {

    List<OrderInfo> checkCode(String verificationCode);

    int insertFlow(AccountFlow accountFlow);

    int updateOrderStatus(Long id);

    String searchServiceType(Integer source);

    List<RecordVo> selectRecord();

    Long getMerchantId(Long userId);
}
